package cn.tedu.mm.front.account.dao.persist.repository.impl;

import cn.tedu.mm.front.account.dao.persist.mapper.ReadHistoryMapper;
import cn.tedu.mm.front.account.dao.persist.repository.IReadHistoryRepository;
import cn.tedu.mm.front.account.pojo.vo.ListRaedHistorryVO;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public class ReadHistoryImpl implements IReadHistoryRepository {
    @Autowired
    private ReadHistoryMapper readHistoryMapper;
    @Override
    public List<ListRaedHistorryVO> listReadHistory(Long id) {
        return readHistoryMapper.listReadHistory(id);
    }
}
